import _axios from '../plugins/axios';

class Product {
	/**
	 * @method getBanner
	 * 获取首页banner轮播图
	 * */
	getBanner() {
		return _axios.get('small4/banner/list')
	}

	/**
	 * @method getBargainList
	 * 获取砍价列表
	 * */
	getBargainList() {
		return _axios.get('small4/shop/goods/kanjia/list')
	}

	getRecommendList() {
		return _axios.get('small4/shop/goods/list')
	}
}

export default Product;
